package com.ruibang.glass.quality.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.LabelReq;
import com.ruibang.glass.quality.domain.req.LabelSerialNumReq;
import com.ruibang.glass.quality.entity.Label;
import com.teaming.cloud.framework2.common.model.ResultBody;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;


/**
 * @author 宋锦康
 */
public interface LabelService extends IService<Label> {

    ResultBody getCode(LabelReq labelReq);

    ResultBody getDateByPalletNumber(String palletNumber);

    IPage<Label> queryLabel(LabelReq labelReq);

    ResultBody getSerialNumByGrade(String grade);

    ResultBody editSerialNumBer(LabelSerialNumReq labelSerialNumBer);

    ResultBody likePalletNumber(String highlight);

    void export(LabelReq labelReq, HttpServletResponse httpResponse);
}
